package com.motong.gongdan.vo.H5Vo.AssemblyWorkOrder.vo;

import com.motong.gongdan.vo.system.AssemblyWorkOrder.vo.AssemblyDetailProductVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("h5装配工单列表数据")
public class H5AssemblyListVo {

    @ApiModelProperty(value = "")
    private Long id;

    /**
     * 装配工单编码
     */
    @ApiModelProperty(value = "装配工单编码")
    private String code;

    /**
     * 单据进度
     */
    @ApiModelProperty(value = "单据进度")
    private String orderProgress = "0/0";

    /**
     * 单据进度(%)
     */
    @ApiModelProperty(value = "单据进度(%)")
    private BigDecimal orderProgressP = BigDecimal.ZERO;

    /**
     * 生产进度(%)
     */
    @ApiModelProperty(value = "生产进度(%)")
    private BigDecimal produceProgressP = BigDecimal.ZERO;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String createUserName;

    /**
     * 装配工单详情
     */
    @ApiModelProperty(value = "装配工单详情")
    List<AssemblyDetailProductVo> assemblyDetailProductList;

}
